﻿using System;
using System.Data;
using Team4Mock.DAO;

namespace Team4Mock.Entity
{
    public class PremiseEntity
    {
        PremiseDAO p=new PremiseDAO();
        private int id;
        public int ID
        {
            get { return id; }
            set { id = value; }
        }

        public DataTable GetDataById(PremiseEntity e)
        {
            return p.GetdataByID(e.ID);
        }
    }
}